home *** CD-ROM | disk | FTP | other *** search
/ InterCD 1999 June / june_1999.iso / Palm / Business / TC Logger / tclogger.rcp < prev    next >
Encoding:
Text File  |  1999-03-09  |  5.9 KB  |  148 lines

  1. // tclogger.rcp
  2. // Define resources for the TCLogger program
  3.  
  4. #include "tclogger.h"
  5.  
  6. FORM ID tcloggerFormMain AT (0 0 160 160)
  7. SAVEBEHIND
  8. USABLE
  9. NOFRAME
  10. MENUID tcloggerMenu1
  11. BEGIN
  12.     TITLE "TCLogger v0.3"
  13.  
  14.         LABEL "Run" ID idRunLbl AT (5 15) Font 0
  15.         LABEL "Time" ID idTimeLbl AT (PREVRIGHT+6 PREVTOP) Font 0
  16.         LABEL "Description" ID idDescLbl AT (PREVRIGHT+17 PREVTOP) Font 0
  17.  
  18.         GRAFFITISTATEINDICATOR AT ( 145 PREVTOP+1 )
  19.  
  20.         CHECKBOX "" ID idRunCB   AT (5 25 12 10 )
  21.         CHECKBOX "" ID idRunCB+1 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  22.         CHECKBOX "" ID idRunCB+2 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  23.         CHECKBOX "" ID idRunCB+3 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  24.         CHECKBOX "" ID idRunCB+4 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  25.         CHECKBOX "" ID idRunCB+5 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  26.         CHECKBOX "" ID idRunCB+6 AT (PREVLEFT PREVTOP+12 PREVWIDTH PREVHEIGHT)
  27.  
  28.         FIELD ID idTimeFld   PREVRIGHT+1 25 30             AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  29.         FIELD ID idTimeFld+1 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  30.         FIELD ID idTimeFld+2 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  31.         FIELD ID idTimeFld+3 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  32.         FIELD ID idTimeFld+4 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  33.         FIELD ID idTimeFld+5 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  34.         FIELD ID idTimeFld+6 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6
  35.         FIELD ID idTotalFld  PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED RIGHTALIGN SINGLELINE MAXCHARS 6 NONEDITABLE
  36.  
  37.         FIELD ID idDescFld   PREVRIGHT+4 25 105            AUTO UNDERLINED SINGLELINE MAXCHARS 20
  38.         FIELD ID idDescFld+1 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  39.         FIELD ID idDescFld+2 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  40.         FIELD ID idDescFld+3 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  41.         FIELD ID idDescFld+4 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  42.         FIELD ID idDescFld+5 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  43.         FIELD ID idDescFld+6 PREVLEFT PREVTOP+12 PREVWIDTH AUTO UNDERLINED SINGLELINE MAXCHARS 20
  44.  
  45.         LABEL "Total" ID idTotalLbl AT (PREVLEFT PREVTOP+12) Font 0
  46.         BUTTON "Update Timers" ID idUpdateB AT (PREVRIGHT+4 PREVTOP+2 AUTO AUTO)
  47.  
  48.         BUTTON "In"  ID idInB  AT (14 125                  AUTO AUTO)
  49.         BUTTON "Out" ID idOutB AT (PREVLEFT-4 PREVBOTTOM+5 AUTO AUTO)
  50.  
  51.         FIELD ID idInFld PREVRIGHT+5 125        110 AUTO UNDERLINED SINGLELINE MAXCHARS 40
  52.         FIELD ID idOutFld PREVLEFT PREVBOTTOM+5 110 AUTO UNDERLINED SINGLELINE MAXCHARS 40
  53.  
  54. END
  55.  
  56. MENU ID tcloggerMenu1
  57. BEGIN
  58.       PULLDOWN "File"
  59.       BEGIN
  60.           MENUITEM "Export to MemoPad" idExportMenu "M"
  61.           MENUITEM SEPARATOR
  62.         MENUITEM "Help" idHelpMenu "H"
  63.           MENUITEM "About" idAboutMenu "A"
  64.       END
  65.       PULLDOWN "Edit"
  66.       BEGIN
  67.         MENUITEM "Undo" idUndoMenu "U"
  68.           MENUITEM "Cut" idCutMenu "X"
  69.           MENUITEM "Copy" idCopyMenu "C"
  70.           MENUITEM "Paste" idPasteMenu "P"
  71.         MENUITEM "Select All" idSelectMenu "S"
  72.         MENUITEM SEPARATOR
  73.         MENUITEM "Keyboard" idKeyBrdMenu "K"
  74.         MENUITEM "Graffiti Help" idGHelpMenu "G"
  75.       END
  76.       PULLDOWN "Clear"
  77.       BEGIN
  78.         MENUITEM "Clear Focused" idClearFocusMenu
  79.         MENUITEM "Clear Stopped" idClearAllMenu
  80.         MENUITEM SEPARATOR
  81.         MENUITEM "Clear In/Out" idClearIOMenu
  82.       END
  83.       PULLDOWN "Display"
  84.       BEGIN
  85.         MENUITEM "H.H" idHoursMenu
  86.         MENUITEM "H:M" idHrMinMenu
  87.         MENUITEM "SEC" idSecMenu
  88.       END
  89. END
  90.  
  91. STRING tcloggerHelp1 "Just enter a description (optional) and "\
  92.                      "check the checkbox next to it to start "\
  93.                      "accumulating time.  See README that came "\
  94.                      "with this distribution for more details.\n\n"\
  95.                      "In and Out buttons are for recording in "\
  96.                      " and out times for the day.\n\n"\
  97.                      "Update Timers button will update the "\
  98.                      "currently accumulated time since it is "\
  99.                      "NOT dynamically updated.\n\n"\
  100.                      "When editing the time accumulated, the "\
  101.                      "timer must be stopped.  The time entered "\
  102.                      "must have the format H.H, H:M, SEC."
  103.  
  104. STRING tcloggerAbout1 "TCLogger Version 0.3\n"\
  105.        "by Kevin Dupree\n"\
  106.        "kdupree@flash.net\n\n"\
  107.        "This software comes with NO warranty at all and I "\
  108.        "cannot be held responsible for anything it may do. "\
  109.        "I make no claims as to my ability to write programs. "\
  110.        "I take no responsibility for any problems that may "\
  111.        "arrise by using this program to log time.  "\
  112.        "You have the source code, so check it out. "\
  113.        "The source code for the program is distributed "\
  114.        "under the GNU General Public License (GPL).\n"\
  115.        "You can find it at the following URL: \n"\
  116.        " http://www.gnu.org/copyleft/gpl.html\n\n"\
  117.        "A special thanks to all programmers who developed "\
  118.        "pilot-xfer, GCC cross compiler, prctools, and xcopilot."
  119.  
  120.  
  121. ALERT UnknownFormAlert
  122. ERROR
  123. BEGIN
  124.         TITLE "Unknown Form"
  125.     MESSAGE "Load form was requested for an unknown form ID: ^1."
  126.     BUTTONS "OK"
  127. END
  128.  
  129. ALERT NoFieldSelectAlert
  130. INFORMATION
  131. BEGIN
  132.     TITLE "No Field Selected"
  133.     MESSAGE "Cannot perform request.  Please select a field and try again."
  134.     BUTTONS "OK"
  135. END
  136.  
  137. ALERT TimeParseAlert
  138. ERROR
  139. BEGIN
  140.     TITLE "Parse Error"
  141.     MESSAGE "Cannot parse time for timer ^1.  Old accumulated time restored."
  142.     BUTTONS "OK"
  143. END
  144.  
  145. ICON "tclogger.bmp"
  146.  
  147. VERSION 1 "0.3"
  148.